<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  
  <title>maven笔记 | gdme1320 的笔记</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="Table of Contents   Intr POM - Project Object Model 多模块聚合vs继承  继承   FAQ  创建项目 引入 jar       Intr    http://maven.apache.org/pom.html    maven - 必应词典 美[&apos;meɪvən]英[&apos;meɪvən] # 读作“没文”，不是漫威   n.专家；内行 网络火星">
<meta property="og:type" content="article">
<meta property="og:title" content="maven笔记">
<meta property="og:url" content="http://gdme1320.gitee.com/java/maven/index.html">
<meta property="og:site_name" content="gdme1320 的笔记">
<meta property="og:description" content="Table of Contents   Intr POM - Project Object Model 多模块聚合vs继承  继承   FAQ  创建项目 引入 jar       Intr    http://maven.apache.org/pom.html    maven - 必应词典 美[&apos;meɪvən]英[&apos;meɪvən] # 读作“没文”，不是漫威   n.专家；内行 网络火星">
<meta property="og:locale" content="default">
<meta property="og:updated_time" content="2022-03-23T09:59:08.962Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="maven笔记">
<meta name="twitter:description" content="Table of Contents   Intr POM - Project Object Model 多模块聚合vs继承  继承   FAQ  创建项目 引入 jar       Intr    http://maven.apache.org/pom.html    maven - 必应词典 美[&apos;meɪvən]英[&apos;meɪvən] # 读作“没文”，不是漫威   n.专家；内行 网络火星">
  
    <link rel="alternate" href="/atom.xml" title="gdme1320 的笔记" type="application/atom+xml">
  
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" integrity="sha384-XdYbMnZ/QjLh6iI4ogqCTaIjrFk87ip+ekIjefZch0Y+PvJ8CDYtEs1ipDmPorQ+" crossorigin="anonymous">

  <link rel="stylesheet" href="/css/styles.css">
  <link rel="stylesheet" href="/css/docs.min.css">
  

</head>
</html>
<body>
  <nav class="navbar navbar-inverse">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-menu-navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="main-menu-navbar">
      <ul class="nav navbar-nav">
        
          <li><a class href="/index.html">Home</a></li>
        
          <li><a class href="/archives/">Archives</a></li>
        
      </ul>

      <!--
      <ul class="nav navbar-nav navbar-right">
        
          <li><a href="/atom.xml" title="RSS Feed"><i class="fa fa-rss"></i></a></li>
        
      </ul>
      -->
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

  <div class="container bs-docs-container">
  
    <div class="row">
        <div class="col-sm-8 blog-main">
          <article id="post-java/maven" class="article article-type-post" itemscope itemprop="blogPost">

  <header class="article-header">
    
  
    <h1 class="article-title" itemprop="name">
      maven笔记
    </h1>
  


  </header>

  <div class="article-meta">
    <div class="article-datetime">
  <a href="/java/maven/" class="article-date"><time datetime="2018-06-30T16:00:00.000Z" itemprop="datePublished">2018-07-01</time></a>
</div>

    
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/java/">java</a>
  </div>


  </div>
  <div class="article-inner">

    <div class="article-entry" itemprop="articleBody">
      
        
<div id="content">
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org6cd6258">Intr</a></li>
<li><a href="#org9222932">POM - Project Object Model</a></li>
<li><a href="#org2ffd43c">多模块聚合vs继承</a>
<ul>
<li><a href="#orga1e586d">继承</a></li>
</ul>
</li>
<li><a href="#org785be14">FAQ</a>
<ul>
<li><a href="#orga0c4654">创建项目</a></li>
<li><a href="#org71e49bb">引入 jar</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="outline-2" id="outline-container-org6cd6258">
<h2 id="org6cd6258">Intr</h2>
<div class="outline-text-2" id="text-org6cd6258">
<blockquote>
<p>
<a href="http://maven.apache.org/pom.html" target="_blank" rel="noopener">http://maven.apache.org/pom.html</a>
</p>
</blockquote>
<p>
maven - 必应词典
美['meɪvən]英['meɪvən] # 读作“没文”，不是漫威
</p>
<p>
n.专家；内行
网络火星大气与挥发物演化任务；行家；火星大气与不稳定性变化
</p>
<p>
变形复数：mavens；
例句Maven is a set of standards, a repository format, and a piece of software used to manage and describe projects.
Maven是一个标准，一个知识库格式，是一个管理和描述项目的软件。
</p>
</div>
</div>
<div class="outline-2" id="outline-container-org9222932">
<h2 id="org9222932">POM - Project Object Model</h2>
<div class="outline-text-2" id="text-org9222932">
<p>
POM.xml的直系子元素：
</p>
<div class="org-src-container">
<pre class="src src-xml">&lt;<span style="font-weight: bold;">project</span> <span style="font-weight: bold;">xmlns</span>=<span style="font-style: italic;">"http://maven.apache.org/POM/4.0.0"</span>
  <span style="font-weight: bold;">xmlns</span>:<span style="font-weight: bold; font-style: italic;">xsi</span>=<span style="font-style: italic;">"http://www.w3.org/2001/XMLSchema-instance"</span>
  <span style="font-weight: bold;">xsi</span>:<span style="font-weight: bold; font-style: italic;">schemaLocation</span>=<span style="font-style: italic;">"http://maven.apache.org/POM/4.0.0</span>
<span style="font-style: italic;">                      http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>&gt;
  &lt;<span style="font-weight: bold;">modelVersion</span>&gt;4.0.0&lt;/<span style="font-weight: bold;">modelVersion</span>&gt; <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">maven 2 &amp; 3 唯一支持的值，并且是必须的 </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>

  <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">The Basics </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
  &lt;<span style="font-weight: bold;">groupId</span>&gt;...&lt;/<span style="font-weight: bold;">groupId</span>&gt;
  &lt;<span style="font-weight: bold;">artifactId</span>&gt;...&lt;/<span style="font-weight: bold;">artifactId</span>&gt;
  &lt;<span style="font-weight: bold;">version</span>&gt;...&lt;/<span style="font-weight: bold;">version</span>&gt;
  &lt;<span style="font-weight: bold;">packaging</span>&gt;...&lt;/<span style="font-weight: bold;">packaging</span>&gt;
  &lt;<span style="font-weight: bold;">dependencies</span>&gt;...&lt;/<span style="font-weight: bold;">dependencies</span>&gt;
  &lt;<span style="font-weight: bold;">parent</span>&gt;...&lt;/<span style="font-weight: bold;">parent</span>&gt;
  &lt;<span style="font-weight: bold;">dependencyManagement</span>&gt;...&lt;/<span style="font-weight: bold;">dependencyManagement</span>&gt;
  &lt;<span style="font-weight: bold;">modules</span>&gt;...&lt;/<span style="font-weight: bold;">modules</span>&gt;
  &lt;<span style="font-weight: bold;">properties</span>&gt;...&lt;/<span style="font-weight: bold;">properties</span>&gt;

  <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">Build Settings </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
  &lt;<span style="font-weight: bold;">build</span>&gt;...&lt;/<span style="font-weight: bold;">build</span>&gt;
  &lt;<span style="font-weight: bold;">reporting</span>&gt;...&lt;/<span style="font-weight: bold;">reporting</span>&gt;

  <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">More Project Information </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
  &lt;<span style="font-weight: bold;">name</span>&gt;...&lt;/<span style="font-weight: bold;">name</span>&gt;
  &lt;<span style="font-weight: bold;">description</span>&gt;...&lt;/<span style="font-weight: bold;">description</span>&gt;
  &lt;<span style="font-weight: bold;">url</span>&gt;...&lt;/<span style="font-weight: bold;">url</span>&gt;
  &lt;<span style="font-weight: bold;">inceptionYear</span>&gt;...&lt;/<span style="font-weight: bold;">inceptionYear</span>&gt;
  &lt;<span style="font-weight: bold;">licenses</span>&gt;...&lt;/<span style="font-weight: bold;">licenses</span>&gt;
  &lt;<span style="font-weight: bold;">organization</span>&gt;...&lt;/<span style="font-weight: bold;">organization</span>&gt;
  &lt;<span style="font-weight: bold;">developers</span>&gt;...&lt;/<span style="font-weight: bold;">developers</span>&gt;
  &lt;<span style="font-weight: bold;">contributors</span>&gt;...&lt;/<span style="font-weight: bold;">contributors</span>&gt;

  <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">Environment Settings </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
  &lt;<span style="font-weight: bold;">issueManagement</span>&gt;...&lt;/<span style="font-weight: bold;">issueManagement</span>&gt;
  &lt;<span style="font-weight: bold;">ciManagement</span>&gt;...&lt;/<span style="font-weight: bold;">ciManagement</span>&gt;
  &lt;<span style="font-weight: bold;">mailingLists</span>&gt;...&lt;/<span style="font-weight: bold;">mailingLists</span>&gt;
  &lt;<span style="font-weight: bold;">scm</span>&gt;...&lt;/<span style="font-weight: bold;">scm</span>&gt;
  &lt;<span style="font-weight: bold;">prerequisites</span>&gt;...&lt;/<span style="font-weight: bold;">prerequisites</span>&gt;
  &lt;<span style="font-weight: bold;">repositories</span>&gt;...&lt;/<span style="font-weight: bold;">repositories</span>&gt;
  &lt;<span style="font-weight: bold;">pluginRepositories</span>&gt;...&lt;/<span style="font-weight: bold;">pluginRepositories</span>&gt;
  &lt;<span style="font-weight: bold;">distributionManagement</span>&gt;...&lt;/<span style="font-weight: bold;">distributionManagement</span>&gt;
  &lt;<span style="font-weight: bold;">profiles</span>&gt;...&lt;/<span style="font-weight: bold;">profiles</span>&gt;
&lt;/<span style="font-weight: bold;">project</span>&gt;
</pre>
</div>
</div>
</div>
<div class="outline-2" id="outline-container-org2ffd43c">
<h2 id="org2ffd43c">多模块聚合vs继承</h2>
<div class="outline-text-2" id="text-org2ffd43c">
<blockquote>
<p>
<a href="http://maven.apache.org/pom.html#Aggregation" target="_blank" rel="noopener">http://maven.apache.org/pom.html#Aggregation</a>
</p>
</blockquote>
<div class="org-src-container">
<pre class="src src-xml">&lt;<span style="font-weight: bold;">project</span> <span style="font-weight: bold;">xmlns</span>=<span style="font-style: italic;">"http://maven.apache.org/POM/4.0.0"</span>
  <span style="font-weight: bold;">xmlns</span>:<span style="font-weight: bold; font-style: italic;">xsi</span>=<span style="font-style: italic;">"http://www.w3.org/2001/XMLSchema-instance"</span>
  <span style="font-weight: bold;">xsi</span>:<span style="font-weight: bold; font-style: italic;">schemaLocation</span>=<span style="font-style: italic;">"http://maven.apache.org/POM/4.0.0</span>
<span style="font-style: italic;">                      https://maven.apache.org/xsd/maven-4.0.0.xsd"</span>&gt;
  &lt;<span style="font-weight: bold;">modelVersion</span>&gt;4.0.0&lt;/<span style="font-weight: bold;">modelVersion</span>&gt;

  &lt;<span style="font-weight: bold;">groupId</span>&gt;org.codehaus.mojo&lt;/<span style="font-weight: bold;">groupId</span>&gt;
  &lt;<span style="font-weight: bold;">artifactId</span>&gt;my-parent&lt;/<span style="font-weight: bold;">artifactId</span>&gt;
  &lt;<span style="font-weight: bold;">version</span>&gt;2.0&lt;/<span style="font-weight: bold;">version</span>&gt;
  &lt;<span style="font-weight: bold;">packaging</span>&gt;pom&lt;/<span style="font-weight: bold;">packaging</span>&gt;

  &lt;<span style="font-weight: bold;">modules</span>&gt;
    &lt;<span style="font-weight: bold;">module</span>&gt;my-project&lt;/<span style="font-weight: bold;">module</span>&gt; <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">这里是路径，my-project在这个聚合模块所在的目录下 </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
    &lt;<span style="font-weight: bold;">module</span>&gt;another-project&lt;/<span style="font-weight: bold;">module</span>&gt; <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">假如这个项目在聚合模块的上级目录，则是 ../another-project </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
    &lt;<span style="font-weight: bold;">module</span>&gt;third-project/pom-example.xml&lt;/<span style="font-weight: bold;">module</span>&gt;
  &lt;/<span style="font-weight: bold;">modules</span>&gt;
&lt;/<span style="font-weight: bold;">project</span>&gt;
</pre>
</div>
<p>
一个maven模块的pom.xml文件中，它的packing=pom，并且有多个其他模块。
聚合是为了方便构建多个模块。（但是IDE都有自动构建的功能，各式插件）
</p>
<p>
当聚合这些模块时，不需要考虑它们的依赖：例如它们的顺序并不重要，maven将解决它们的依赖关系。
</p>
</div>
<div class="outline-3" id="outline-container-orga1e586d">
<h3 id="orga1e586d">继承</h3>
<div class="outline-text-3" id="text-orga1e586d">
<div class="org-src-container">
<pre class="src src-xml">&lt;<span style="font-weight: bold;">project</span>&gt;  
    &lt;<span style="font-weight: bold;">modelVersion</span>&gt;4.0.0&lt;/<span style="font-weight: bold;">modelVersion</span>&gt;  
    &lt; parent &gt;  
        <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">继承发生在这里 </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
    &lt;/ parent &gt;  
  ...  
    &lt;<span style="font-weight: bold;">modules</span>&gt;
    <span style="font-weight: bold; font-style: italic;">&lt;!-- </span><span style="font-weight: bold; font-style: italic;">继承与聚合不是同一个概念，很多情况，它们在一起用 </span><span style="font-weight: bold; font-style: italic;">--&gt;</span>
    &lt;/<span style="font-weight: bold;">moeuls</span>&gt;
&lt;/<span style="font-weight: bold;">project</span>&gt;  
</pre>
</div>
<p>
就像程序中的聚合与继承的关系一样。经常能算到有的模块既是聚合模块，也是继承。
</p>
</div>
</div>
</div>
<div class="outline-2" id="outline-container-org785be14">
<h2 id="org785be14">FAQ</h2>
<div class="outline-text-2" id="text-org785be14">
</div>
<div class="outline-3" id="outline-container-orga0c4654">
<h3 id="orga0c4654">创建项目</h3>
<div class="outline-text-3" id="text-orga0c4654">
<div class="org-src-container">
<pre class="src src-sh">mvn archetype:generate -DgroupId=xxxx -DartifactId=xxxx -Dpackag=xxx -Dversion=1.0-SNAPSHOT
</pre>
</div>
</div>
</div>
<div class="outline-3" id="outline-container-org71e49bb">
<h3 id="org71e49bb">引入 jar</h3>
<div class="outline-text-3" id="text-org71e49bb">
<div class="org-src-container">
<pre class="src src-xml">&lt;<span style="font-weight: bold;">dependency</span>&gt;
  &lt;<span style="font-weight: bold;">groupId</span>&gt;com.taobao.top&lt;/<span style="font-weight: bold;">groupId</span>&gt;
  &lt;<span style="font-weight: bold;">artifactId</span>&gt;top-api-sdk-dev&lt;/<span style="font-weight: bold;">artifactId</span>&gt;
  &lt;<span style="font-weight: bold;">version</span>&gt;dingtalk-SNAPSHOT&lt;/<span style="font-weight: bold;">version</span>&gt;
  &lt;<span style="font-weight: bold;">scope</span>&gt;system&lt;/<span style="font-weight: bold;">scope</span>&gt;
  &lt;<span style="font-weight: bold;">systemPath</span>&gt;${basedir}/../lib/taobao-sdk-java-auto_1479188381469-20190816.jar&lt;/<span style="font-weight: bold;">systemPath</span>&gt;
&lt;/<span style="font-weight: bold;">dependency</span>&gt;
</pre>
</div>
<p>
而spring-boot打包插件需要配置才能将引入的外部jar打包到部署用的jar包中：
</p>
<div class="org-src-container">
<pre class="src src-xml">&lt;<span style="font-weight: bold;">plugin</span>&gt;
  &lt;<span style="font-weight: bold;">groupId</span>&gt;org.springframework.boot&lt;/<span style="font-weight: bold;">groupId</span>&gt;
  &lt;<span style="font-weight: bold;">artifactId</span>&gt;spring-boot-maven-plugin&lt;/<span style="font-weight: bold;">artifactId</span>&gt;
  &lt;<span style="font-weight: bold;">configuration</span>&gt;
    &lt;<span style="font-weight: bold;">includeSystemScope</span>&gt;true&lt;/<span style="font-weight: bold;">includeSystemScope</span>&gt;
  &lt;/<span style="font-weight: bold;">configuration</span>&gt;
&lt;/<span style="font-weight: bold;">plugin</span>&gt;
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="status" id="postamble">
<p class="date">Date: 2018-7-1</p>
<p class="author">Author: gdme1320</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer" target="_blank" rel="noopener">Validate</a></p>
</div>

      
    </div>

    
      

    

    <footer class="article-footer">
      <a data-url="http://gdme1320.gitee.com/java/maven/" data-id="cl13eo7jr007zhjv4dmu13emd" class="article-share-link">
        <i class="fa fa-share"></i> Share
      </a>
      
      

    </footer>
  </div>
  
    
<ul id="article-nav" class="nav nav-pills nav-justified">
  
  <li role="presentation">
    <a href="/rfc/rfc6749-oauth2/" id="article-nav-older" class="article-nav-link-wrap">
      <i class="fa fa-chevron-left pull-left"></i>
      <span class="article-nav-link-title">OAuth2认证方式</span>
    </a>
  </li>
  
  
  <li role="presentation">
    <a href="/python/supervisor/" id="article-nav-newer" class="article-nav-link-wrap">
      <span class="article-nav-link-title">Supervisor</span>
      <i class="fa fa-chevron-right pull-right"></i>
    </a>
  </li>
  
</ul>


  
</article>




        </div>
        <div class="col-sm-3 col-sm-offset-1 blog-sidebar">
          
  
  <div class="sidebar-module">
    <h4>Categories</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/apps/">apps</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/architecture/">architecture</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/">devops</a><span class="sidebar-module-list-count">10</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/kubectl/">kubectl</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/kubernetes/">kubernetes</a><span class="sidebar-module-list-count">3</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/dotnet/">dotnet</a><span class="sidebar-module-list-count">3</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/dotnet/entityframework/">entityframework</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/elasticsearch/">elasticsearch</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/emacs/">emacs</a><span class="sidebar-module-list-count">4</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/emacs/org-mode/">org-mode</a><span class="sidebar-module-list-count">3</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/git/">git</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/graphql/">graphql</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/groovy/">groovy</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/">java</a><span class="sidebar-module-list-count">52</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/concurrent/">concurrent</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/jackson/">jackson</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/shiro/">shiro</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring/">spring</a><span class="sidebar-module-list-count">11</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-amqp/">spring-amqp</a><span class="sidebar-module-list-count">5</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-amqp/spring-jpa/">spring-jpa</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-jpa/">spring-jpa</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-security/">spring-security</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/thymeleaf/">thymeleaf</a><span class="sidebar-module-list-count">2</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/thymeleaf/maven/">maven</a><span class="sidebar-module-list-count">1</span></li></ul></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/jenkins/">jenkins</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/journal/">journal</a><span class="sidebar-module-list-count">7</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/js/">js</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/">linux</a><span class="sidebar-module-list-count">35</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kde/">kde</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kross/">kross</a><span class="sidebar-module-list-count">3</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kross/ktorrent-scripts/">ktorrent-scripts</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/shell/">shell</a><span class="sidebar-module-list-count">6</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/tcp/">tcp</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/lisp/">lisp</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mongodb/">mongodb</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mssql/">mssql</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mysql/">mysql</a><span class="sidebar-module-list-count">12</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/nginx/">nginx</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/node/">node</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/postgresql/">postgresql</a><span class="sidebar-module-list-count">2</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/postgresql/client/">client</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/python/">python</a><span class="sidebar-module-list-count">19</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/regex/">regex</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/rfc/">rfc</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/vim/">vim</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/windows/">windows</a><span class="sidebar-module-list-count">7</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Tags</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/ReentrantLock/">ReentrantLock</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/nohup/">nohup</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/pandoc/">pandoc</a><span class="sidebar-module-list-count">1</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Tag Cloud</h4>
    <p class="tagcloud">
      <a href="/tags/ReentrantLock/" style="font-size: 10px;">ReentrantLock</a> <a href="/tags/nohup/" style="font-size: 10px;">nohup</a> <a href="/tags/pandoc/" style="font-size: 10px;">pandoc</a>
    </p>
  </div>


  
  <div class="sidebar-module">
    <h4>Archives</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2919/06/">June 2919</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2022/03/">March 2022</a><span class="sidebar-module-list-count">58</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2022/01/">January 2022</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/11/">November 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/10/">October 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/04/">April 2021</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/03/">March 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/02/">February 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/01/">January 2021</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/12/">December 2020</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/11/">November 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/10/">October 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/09/">September 2020</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/07/">July 2020</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/06/">June 2020</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/04/">April 2020</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/03/">March 2020</a><span class="sidebar-module-list-count">8</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/02/">February 2020</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/01/">January 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/12/">December 2019</a><span class="sidebar-module-list-count">7</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/11/">November 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/10/">October 2019</a><span class="sidebar-module-list-count">11</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/09/">September 2019</a><span class="sidebar-module-list-count">6</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/08/">August 2019</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/07/">July 2019</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/06/">June 2019</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/05/">May 2019</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/04/">April 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/03/">March 2019</a><span class="sidebar-module-list-count">8</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/02/">February 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/01/">January 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/11/">November 2018</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/10/">October 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/08/">August 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/07/">July 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/06/">June 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/03/">March 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/07/">July 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/06/">June 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/04/">April 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2015/05/">May 2015</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/1970/01/">January 1970</a><span class="sidebar-module-list-count">9</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Recents</h4>
    <ul class="sidebar-module-list">
      
        <li>
          <a href="/java/acessing-generic-types-at-runtime/">获取泛型类型</a>
        </li>
      
        <li>
          <a href="/linux/shell/bash_cgi/">Script for Shell Parsing Parameters</a>
        </li>
      
        <li>
          <a href="/linux/shell/shell-script/">Shell Script Getting Start</a>
        </li>
      
        <li>
          <a href="/linux/tcp/network-tcp-performance-turning-with-sysctl/">【翻译】Sysctl调节Linux网络性能</a>
        </li>
      
        <li>
          <a href="/java/concurrent/aqs-src/">AQS源码笔记</a>
        </li>
      
    </ul>
  </div>



        </div>
    </div>
  </div>
  <footer class="blog-footer">
  <div class="container">
    <div id="footer-info" class="inner">
      &copy; 2022 gdme1320<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

  

<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" integrity="sha384-8gBf6Y4YYq7Jx97PIqmTwLPin4hxIzQw5aDmUg/DDhul9fFpbbLcLh3nTIIDJKhx" crossorigin="anonymous"></script> -->

<script src="/js/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>



<script src="/js/script.js"></script>

</body>
</html>
